package com.example.service;

import com.example.entity.UploadFile;
import com.example.entity.example.UploadFileExample;

import java.util.Date;
import java.util.List;

public interface UploadFileService {
    List<UploadFile> getByExampleWithLimit(Integer id, String username, String fileName, Date beginDate, Date endDate, Integer curPage, Integer pageSize);

    int getCountByExample(Integer id, String username, String fileName, Date beginDate, Date endDate);

    UploadFile getById(Integer id);

    void addUploadFile(UploadFile uploadFile);

    void removeById(Integer id);

    void updateSelectiveById(UploadFile uploadFile);

    long getCountByExample(UploadFileExample example);
}
